﻿using FrameworkCore.Mvc;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace FrameworkCore.Modules.Startups;

public partial class NetModulerStartup : INetModulerStartup
{
    public int Order => 2000;

    public void Configure(IApplicationBuilder application)
    {
    }

    public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
    {
        services.AddSingleton<IRoutePublisher, RoutePublisher>();
    }
}
